<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<%@ include file="/pages/login/common.jsp" %>
<meta http-equiv="X-UA-Compatible" content="IE=8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta content="B2B电商平台" name="description"/>
<meta content="B2B电商平台" name="keyword"/>

<title>B2B电商平台.店铺宣传信息申请</title>
<link rel="stylesheet" type="text/css" href="<%=path %>/include/css/style.css" />
<link rel="stylesheet" type="text/css" href="<%=path %>/include/css/btn.css" />
<link rel="stylesheet" type="text/css" href="<%=path %>/include/css/themes.css" />
<link rel="stylesheet" href="<%=path%>/include/JQuery zTree v3.4/css/demo.css">
<link rel="stylesheet" type="text/css" href="<%=path %>/include/css/register_icss.css" />
<link rel="stylesheet" type="text/css" href="<%=path %>/include/sweetalert/sweetalert.css" />
<link rel="stylesheet" type="text/css" href="<%=path %>/include/css/mmt_trading.css" />

<script type="text/javascript" src="<%=path %>/include/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="<%=path %>/include/js/cookies.js"></script>
<script type="text/javascript" src="<%=path %>/include/js/icss.common.js"></script>
<script type="text/javascript" src="<%=path %>/include/sweetalert/sweetalert.min.js"></script>
<script type="text/javascript" src="<%=path %>/include/sweetalert/sweetalert-dev.js"></script>
<script type="text/javascript" src="<%=path %>/include/js/icss.shop.application.js"></script>

<style type="text/css">
body{}
table{border-collapse: collapse;}
tr{ 
    display:block; /*将tr设置为块体元素*/ 
    margin:10px;  /*设置tr间距为2px*/ 
    width:100%;
}
td{padding:5px;height:30px; line-height:30px;}
.td1{
	width:100px;
	font-size:14px;
	text-align:right;
	vertical-align: middle;
}
.input1{
	width:300px;
	height:30px;
	line-height:30px;
	vertical-align:middle;
	float:left;
}
button{
    width:44px;
    height:24px;
    line-height:24px;   
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 0 -203px;
    border:0;
    cursor:pointer;
    font: 12px/1.5 arial,tahoma,\5b8b\4f53;
    margin: 0 0 0 5px;
    outline:none;
    background-image: url('<%=path%>/include/css/img/xs_bgx.png');   
}
.promptBox{display:inline-block;height:30px;padding-left:5px;width:200px;white-space:nowrap; z-index:50; position:relative;}
.tips-errow{background-position:-296px -22px;color:#f52c2c;}
.tips-ok{background-position:-296px 14px;color:#666;}
.tipsCur{background-position:-296px -55px;color:#666;}
.approveDiv{width:100%;height:23px;margin:0 20px;;padding:15px 0 10px 0;border-bottom: 1px solid #ADADAD;color:blue;}
</style>
<script type="text/javascript">

	//返回店铺信息
	function returnShopInfo(){
		var applyName = $("#applyName").val();
		var begDate = $("#begDate").val();
		var endDate = $("#endDate").val();
		window.location.href="<%=path%>/applyHomeDisplay/toApplyHomeDisplayListPage.do?shopId="+$("#shopId").val()+"&begDate="+begDate+"&endDate="+endDate+"&applyName="+escape(escape(applyName));
	}
	
</script>
</head>
<body class="theme-red" data-theme="theme-red" style="height: 70%">
	<div id="contentDiv" style="width:99%;padding:4px;" >
		<div style="width:100%;height:30px;border-bottom:1px solid #ADADAD;">
			<div class="toptil">首页展示详情</div>
		</div>
		<form id="fm" name="fm" class="form-horizontal form-validate" method="post" action="" novalidate="novalidate">
			<input type="hidden" id="uuid" name="uuid" value="${bean.APPLICATION_UUID }">
			<input type="hidden" id="applyName" name="applyName" value="${applyName }">
			<input type="hidden" id="begDate" name="begDate" value="${begDate }">
			<input type="hidden" id="endDate" name="endDate" value="${endDate }">
			<input type="hidden" id="type" name="type" value="${type }">
			<input type="hidden" id="shopId" name="shopId" value="${shopId }">
			<div style="width:100%;margin-top:20px;margin-left:10px;">
				<table style="width:100%;">
					<tr>
						<td class="td1"  nowrap>宣传名称：</td>
						<td class="rightTd" nowrap>${bean.APPLICATION_NAME}</td>
					</tr>
					<tr>
						<td class="td1" nowrap>宣传内容：</td>
						<td class="rightTd" nowrap>${bean.APPLICATION_CONTENT }</td>
					</tr>
					<tr>
						<td class="td1" nowrap style="vertical-align:top;">宣传图片：</td>
						<td class="rightTd" nowrap>
							<div id="applicationPicDiv" style="float:left;text-align:center;">
								<div id="imgDiv3" style="margin-bottom:10px;">
									<img src="${bean.APPLICATION_PIC }" onerror="javascript:this.src='<%=path%>/download/error/nopicture.jpg';"
										id="imgView3" style="height: 120px; width: 300px;">
								</div>
							</div>
						</td>
					</tr>
					<tr>
						<td class="td1" nowrap style="vertical-align:top;">开始时间：</td>
						<td class="rightTd" nowrap>${bean.BEG_TIME }</td>
					</tr>
					<tr>
						<td class="td1" nowrap style="vertical-align:top;">结束时间：</td>
						<td class="rightTd" nowrap>${bean.END_TIME }</td>
					</tr>
					<tr>
						<td class="td1" nowrap style="vertical-align:top;">审核状态：</td>
						<td class="rightTd" nowrap>${bean.STATUS}</td>
					</tr>
					<tr>
						<td class="td1">&nbsp;</td>
						<td style=""><button  type="button" onclick="returnShopInfo();">返回</button></td>
					</tr>
				</table>
			</div>
		</form>
	</div>
</body>
</html>
